package com.example.template.common.constant;

/**
 * @className: TokenConstant
 * @description: TODO 类描述
 * @author: Kuangkeli
 * @date: 2024/01/19 14:10
 **/
public interface TokenConstant {
    /**
     * 黑名单redis储存前缀
     */
    String TOKEN_BLACKLIST_PREFIX = "blacklist_";
    int TOKEN_EXPIRE_TIME = 1800;

    String CLIENT_TYPE_MAC = "mac";
    String CLIENT_TYPE_WEB = "web";

    String OS_NAME = "os.name";

    String TOKEN_KEY_PREFIX  = "token:";
}
